<template>
  <view class="content">
    <view class="top">
      <view class="title">巡检——无线倾角传感器</view>
      <image class="logo" src="/static/saomiao.png">
    </view>
    <view class="tips">巡检中,请完成所有项目后提交</view>
    <view class="card boxShadow2">
      <view class="card_info">
        <view class="card_item">
          <view class="key_txt">产品名称</view>
          <view class="value_txt"> 膨胀节-001</view>
        </view>
        <view class="card_item">
          <view class="key_txt"> 产品编码</view>
          <view class="value_txt"> 膨胀节-001</view>
        </view>
        <view class="card_item">
          <view class="key_txt"> 型号类型</view>
          <view class="value_txt"> 光伏型无线倾角传感器</view>
        </view>
        <view class="card_item">
          <view class="key_txt"> 所属项目</view>
          <view class="value_txt"> xx工程项目</view>
        </view>
      </view>
    </view>
    <view class="tips"
      >巡检要求：逐项进行检查，确认正常选择"正常",异常点击"异常"，并且需要进行相应的拍照上传</view
    >
    <view class="titles">产品详细信息</view>

    <view>1.产品外观</view>
    <view class="flex">
      <view>
        <label class="radio"><radio value="r1" checked="true" />正常</label>
        <label class="radio"><radio value="r2" />异常</label>
      </view>
      <view class="setLevel">
        <view>
          <button class="setLevel_btn" type="primary">拍照</button>
        </view>
      </view>
    </view>
    <view>2.xxxxx</view>
    <view class="flex">
      <view>
        <label class="radio"><radio value="r1" checked="true" />正常</label>
        <label class="radio"><radio value="r2" />异常</label>
      </view>
      <view class="setLevel">
        <view>
          <button class="setLevel_btn" type="primary">拍照</button>
        </view>
      </view>
    </view>
    <view>3.xxxx</view>
    <view class="flex">
      <view>
        <label class="radio"><radio value="r1" checked="true" />正常</label>
        <label class="radio"><radio value="r2" />异常</label>
      </view>
      <view class="setLevel">
        <view>
          <button class="setLevel_btn" type="primary">拍照</button>
        </view>
      </view>
    </view>
    <view>4.xxxxx</view>
    <view class="flex">
      <view>
        <label class="radio"><radio value="r1" checked="true" />正常</label>
        <label class="radio"><radio value="r2" />异常</label>
      </view>
      <view class="setLevel">
        <view>
          <button class="setLevel_btn" type="primary">拍照</button>
        </view>
      </view>
    </view>
    <view>5.xxxxx</view>
    <view class="flex">
      <view>
        <label class="radio"><radio value="r1" checked="true" />正常</label>
        <label class="radio"><radio value="r2" />异常</label>
      </view>
      <view class="setLevel">
        <view>
          <button class="setLevel_btn" type="primary">拍照</button>
        </view>
      </view>
    </view>
    <!-- <view class="card_item setLevel"> -->
    <view class="btn">
       <view class="submit_wrap">
      <button class="submit_btn" @click="handleSubmit">提交</button>
    </view>
    </view>
    <!-- </view> -->
  </view>
</template>

<script>
export default {
  data() {
    return {
      title: 'Hello'
    }
  },
  onLoad() {},
  methods: {}
}
</script>

<style lang="scss" scoped>
.content {
  padding: 20rpx;
}
.top {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 20rpx;
}
.logo {
  height: 120rpx;
  width: 120rpx;
}
.title {
  font-size: 46rpx;
  font-weight: bold;
  color: #424244;
  height: 120rpx;
  line-height: 120rpx;
}
.titles {
  font-size: 36rpx;
  font-weight: bold;
  color: #424244;
  margin-left: 20rpx;
}
.setLevel {
  justify-content: flex-end;
  .setLevel_btn {
    font-size: 22rpx;
    // color: #0065fd;
    font-weight: normal;
  }
}
.pic {
  display: flex;
  justify-content: center;
  margin-top: 20rpx;
  image {
    width: 400rpx;
    height: 300rpx;
    // overflow: hidden;
  }
}
.list-card-item {
  padding: 40rpx;
  width: 94%;
  position: relative;
  color: #999;
  &:last-child {
    margin-bottom: 200rpx;
  }
}
.card-item {
  display: flex;
  border-bottom: 1px solid #e5e5e5;
  padding: 10rpx;
}
.text {
  width: 150rpx;
  color: #666;
}
.cards {
  width: 100%;
  // display: flex;
  // flex-direction: column;
  // justify-content: center;
  // align-items: center;
  border-radius: 15rpx;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 20rpx;
  // margin-bottom: 20rpx;
  padding: 0 20rpx;
  box-sizing: border-box;
}
.tips {
  text-align: center;
  color: red;
}
.radio {
  margin-right: 20rpx;
  margin-left: 40rpx;
}
.flex {
  display: flex;
  justify-content: space-around;
  margin-top: 10rpx;
}
.submit_wrap{
    width: 200px;
    height: 42px;
    background: #0065fd;
    margin: 20px;
    border-radius: 10px;
    overflow: hidden;
}
 .submit_btn {
    width: 100%;
    height: 100%;
    background: #0065fd;
    font-size: 15px;
    line-height: 42px;
    color: #ffffff;
}
.btn{
  display: flex;
  justify-content: center;
  align-items: center;
}

</style>
